import 'package:flutter/material.dart';
import 'package:flutter_application_2/pages/home/tab_index/index_navigator.dart';
import 'package:flutter_application_2/pages/home/tab_index/index_recommond.dart';
import 'package:flutter_application_2/pages/home/info/index.dart';
import 'package:flutter_application_2/widgets/common_swipper.dart';
import '../../../widgets/search_bar/index.dart';

class TabIndex extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Colors.white,
        title: SearchBar(),
      ),
      body: ListView(
        children: [
          CommonSwipper(),
          IndexNavigator(),
          IndexRecommond(),
          InfoPage(
            showTitle: true,
          ),
        ],
      ),
    );
  }
}
